<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <h2>测试页面</h2>
    <button>点我试试</button>
    <script>
      document.querySelector("button").addEventListener("click", function () {
        // 调用 鸿蒙端传过来的逻辑
        // mk.sayHi({
        //   name: "牛宝宝",
        //   food: "西兰花炒蛋",
        // });
        // console.log("123");
        // console.log(mk.queryUser());
        // mk.removeUser();
        // const res = mk.pickerCamera();
        // console.log(res);
        // mk.pickerPhoto();
        console.log(mk);
      });
    </script>

    <!-- 引入调试控制台 -->
    <script src="https://cdn.bootcdn.net/ajax/libs/eruda/3.3.0/eruda.min.js"></script>
    <script>
      eruda.init();
    </script>
  </body>
</html>
